package com.ybzl.collect.plugins.impl;

import com.ybzl.collect.common.entity.SrcData;
import com.ybzl.collect.plugins.DistributePlugin;

/**
 * 静态变量是共享的，需要考虑线程安全的问题
 */
public class HttpPlugin implements DistributePlugin {

    /*private HttpPlugin(){

    }

    public static HttpPlugin builder(){
        return  new HttpPlugin();
    }*/


    @Override
    public boolean syncDistribu(SrcData data) {
        return false;
    }

    @Override
    public boolean ayncDistribu(SrcData data) {
        // 1.多线程异步分发技术

        return false;
    }
}
